package com.example.demo1.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
@Data

public class DetectionResult {

    private Timestamp time_point;
    private String group_name;
    private float infectdata;


    public DetectionResult() {
    }

    public DetectionResult(Timestamp time_point, String group_name, float infectdata) {
        this.time_point = time_point;
        this.group_name = group_name;
        this.infectdata = infectdata;
    }

    /**
     * 获取
     * @return time_point
     */
    public Timestamp getTime_point() {
        return time_point;
    }

    /**
     * 设置
     * @param time_point
     */
    public void setTime_point(Timestamp time_point) {
        this.time_point = time_point;
    }

    /**
     * 获取
     * @return group_name
     */
    public String getGroup_name() {
        return group_name;
    }

    /**
     * 设置
     * @param group_name
     */
    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }

    /**
     * 获取
     * @return infectdata
     */
    public float getInfectdata() {
        return infectdata;
    }

    /**
     * 设置
     * @param infectdata
     */
    public void setInfectdata(float infectdata) {
        this.infectdata = infectdata;
    }

}
